package feign.ethan.springCloud.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Ethan
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class Dept implements Serializable {

    private Integer deptNo;
    private String name;
    private String dbSource;
    private String createBy;
    private Date createDate;

    public Dept(String name) {
        this.name = name;
    }
}
